#include <geometry.h>
Inheritance diagram for mudbox::Geometry:
Public Member Functions |
|
virtual const mudbox::ClassDesc * | RuntimeClass (void) const |
virtual unsigned int | LevelCount (void) const |
Returns the number of the subdivision levels
in the object. |
|
virtual SubdivisionLevel * | LowestLevel (void) const |
Returns a pointer to the lowest subdivision
level (the one with the fewest faces). |
|
virtual SubdivisionLevel * | HighestLevel (void) const |
Returns a pointer to the highest subdivision
level (the one with the most faces). |
|
virtual SubdivisionLevel * | Level (unsigned int iIndex) const |
Returns a subdivision level by index.
Returns NULL if index is out-of-range. |
|
virtual void | AddLevel (SubdivisionLevel *pLevel, bool bFirst=false) |
Adds a subdivision level to the object.
|
|
virtual SubdivisionLevel * | ActiveLevel (void) const |
Returns the active subdivision level.
|
|
virtual void | SetActiveLevel (SubdivisionLevel *pNewActiveLevel) |
Sets the active subdivision level. |
|
virtual unsigned int | LayerCount () const |
Returns the number of sculpt layers in this
geometry. |
|
virtual LayerMeshData * | LayerData (unsigned int iLayer, const SubdivisionLevel *pLevel) const |
Returns a pointer to the layer delta/mask
data for the specified layer. |
|
virtual mudbox::Material * | Material (void) const |
Returns the material associated with this
geometry. |
|
virtual void | SetMaterial (mudbox::Material *pMaterial) |
Sets the material associated with this
geometry. |
|
Static Public Member Functions |
|
const mudbox::ClassDesc * | StaticClass (void) |
mudbox::Node * | CreateInstances (unsigned int iCount=1) |
Public Attributes |
|
aptr< SubdivisionLevel > | m_pActiveLevel |
This variable contains the address of the
active level. Plugins can use this attribute to catch level change
events by connecting their own attribute of the same type. |
|
Protected Member Functions |
|
Geometry (void) | |
Constructor. Do not use this directly; use
CreateInstance()
instead. |
|
Constructor. Do not use this directly; use CreateInstance() instead. |
|
Reimplemented from mudbox::GroupNode. 00025 : |
|
Reimplemented from mudbox::GroupNode. |
|
Reimplemented from mudbox::GroupNode. |
|
Returns the number of the subdivision levels in the object. |
|
Returns a pointer to the lowest subdivision level (the one with the fewest faces). |
|
Returns a pointer to the highest subdivision level (the one with the most faces). |
|
Returns a subdivision level by index. Returns NULL if index is out-of-range.
|
|
Adds a subdivision level to the object.
|
|
Returns the active subdivision level. |
|
Sets the active subdivision level.
|
|
Returns the number of sculpt layers in this geometry. |
|
Returns a pointer to the layer delta/mask data for the specified layer. Returns NULL if there is no layer data for the given subdivision level or if the layer index is out of range.
|
|
Returns the material associated with this geometry. |
|
Sets the material associated with this geometry. |
|
This variable contains the address of the active level. Plugins can use this attribute to catch level change events by connecting their own attribute of the same type.
|